@echo off
REM %DATE:~0,10%  2017/07/06
set dd=%DATE:~0,10%
set tt=%time:~0,8%
set hour=%tt:~0,2%
echo =======================================================
echo          Starting automatic git commit push
echo =======================================================
REM change file directory
cd %~dp0
REM start git script 
echo %~dp0
echo git status
git status
echo git pull
git pull
echo git add .
git add .
echo git commit 
git commit -m "ScriptBack %dd:/=-% %tt%"
echo git push 
git push origin master

echo over

 ping -n 3 127.0.0.1 >nul
